pygame how to make a transparent surface

50

pygame how to make a transparent surface -

#Creates an empty per-pixel alpha Surface
#surface_name = pygame.Surface((x, y), pygame.SRCALPHA)
my_surface = pygame.Surface((500, 500), pygame.SRCALPHA)

Comments

Submit
0 Comments